///////////////////////////////////
// Engineer:qmj
///////////////////////////////////
module decode(
	din, out
);

  output[3:0]  out;
  input[1:0]  din ;
  reg [3:0] out;

  always @(*) begin
	case(din)
	0:		out=4'b1110;
	1:		out=4'b1101;
	2:		out=4'b1011;
	default:out=4'b0111;
	endcase
  end

endmodule
